<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/common/taglib.jsp" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<title>AUE-傲佑科技 后台管理系统</title>

<link rel="stylesheet" type="text/css" href="${path}/css/taotao.css" />
<!-- easyui公共包 -->
<link rel="stylesheet" type="text/css" href="${path}/js/jquery-easyui-1.4.1/themes/default/easyui.css" />
<link rel="stylesheet" type="text/css" href="${path}/js/jquery-easyui-1.4.1/themes/icon.css" /> 
<script type="text/javascript" src="${path}/js/jquery-easyui-1.4.1/jquery.min.js"></script>
<script type="text/javascript" src="${path}/js/jquery-easyui-1.4.1/jquery.easyui.min.js"></script>
<script type="text/javascript" src="${path}/js/jquery-easyui-1.4.1/locale/easyui-lang-zh_CN.js"></script>
<!-- 公用的查询分页方法 -->
<script type="text/javascript" src="${path}/js/jquery-easyui-1.4.1/jquery.easyui.datagrid-pagination.js"></script> 
<script type="text/javascript" src="${path}/js/jquery-easyui-1.4.1/jquery.easyui.datagrid-tips.js"></script>

<script type="text/javascript" src="${path}/js/common.js"></script>
<script type="text/javascript" src="${path}/js/ajaxfileupload.js"></script>

<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://"
            + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
%>
<script type="text/javascript">
     var basepath="<%=basePath%>";
     var path="<%=path%>";
</script>

<style type="text/css">
	.content {
		padding: 10px 10px 10px 10px;
	}
</style>
</head>
<body class="easyui-layout">
    <div data-options="region:'west',title:'菜单',split:true" style="width:180px;">
    	<ul id="menu" class="easyui-tree" style="margin-top: 10px;margin-left: 5px;">
    	<!-- 
         	<li>
         		<span>商品管理</span>
         		<ul>
	         		<li data-options="attributes:{'url':'item-add'}">新增商品</li>
	         		<li data-options="attributes:{'url':'item-list'}">查询商品</li>
	         		<li data-options="attributes:{'url':'item-param-list'}">规格参数</li>
	         	</ul>
         	</li>
         	<li>
         		<span>网站内容管理</span>
         		<ul>
	         		<li data-options="attributes:{'url':'content-category'}">内容分类管理</li>
	         		<li data-options="attributes:{'url':'content'}">内容管理</li>
	         	</ul>
         	</li>
         	 -->
         	<li>
                <span>商品管理</span>
                <ul>
                    <li data-options="attributes:{'url':'auemall-item-add'}">商品发布</li>
                    <li data-options="attributes:{'url':'auemall-item-list'}">商品列表</li>
                    <li data-options="attributes:{'url':'auemall-item-recyclebin'}">商品回收站</li>
                </ul>
            </li>
            <li>
                <span>品牌/标签</span>
                <ul>
                    <li data-options="attributes:{'url':'auemall-item-brand'}">商品品牌</li>
                </ul>
            </li>
            <li>
                <span>商品配置</span>
                <ul>
                    <li data-options="attributes:{'url':'auemall-item-category'}">商品分类</li>
                </ul>
            </li>
            <li>
                <span>订单管理</span>
                <ul>
                    <li data-options="attributes:{'url':'auemall-order-list'}">订单列表</li>
                   <!--  <li data-options="attributes:{'url':'auemall-item-category'}">订单设置</li> -->
                </ul>
            </li>
            <li>
                <span>退货（款）</span>
                <ul>
                    <li data-options="attributes:{'url':'auemall-item-category'}">退款申请单</li>
                    <li data-options="attributes:{'url':'auemall-item-category'}">退货申请单</li>
                </ul>
            </li>
            <li>
               	<span>开票资料</span>
                <ul>
                    <li data-options="attributes:{'url':'auemall-ticket-list'}">所有开票资料</li>
                    <li data-options="attributes:{'url':'auemall-ticket-waitCheck'}">待审核资料</li>
                    <li data-options="attributes:{'url':'auemall-ticket-checked'}">已通过资料</li>
                    <li data-options="attributes:{'url':'auemall-ticket-unChecked'}">未通过资料</li>
                </ul>
            </li>
            <li>
                <span>会员管理</span>
                <ul>
                    <li data-options="attributes:{'url':'auemall-buyer-list'}">会员列表</li>
                    <li data-options="attributes:{'url':'auemall-buyerGrade-list'}">会员等级</li>
                </ul>
            </li>
            <!-- <li>
                <span>单据管理</span>
                <ul>
                    <li data-options="attributes:{'url':'auemall-item-category'}">收款单</li>
                    <li data-options="attributes:{'url':'auemall-item-category'}">退款单</li>
                    <li data-options="attributes:{'url':'auemall-item-category'}">发货单</li>
                    <li data-options="attributes:{'url':'auemall-item-category'}">退货单</li>
                </ul>
            </li>
             -->
         </ul>
    </div>
    <div data-options="region:'center',title:''">
    	<div id="tabs" class="easyui-tabs">
		    <div title="首页" style="padding:20px;">
		        	
		    </div>
		</div>
    </div>
    
<script type="text/javascript">
$(function(){
	$('#menu').tree({
		onClick: function(node){
			if($('#menu').tree("isLeaf",node.target)){
				var tabs = $("#tabs");
				var tab = tabs.tabs("getTab",node.text);
				if(tab){
					tabs.tabs("select",node.text);
				}else{
					tabs.tabs('add',{
					    title:node.text,
					    href: node.attributes.url,
					    closable:true,
					    bodyCls:"content"
					});
				}
			}
		}
	});
});
</script>
</body>
</html>